package cn.com.anypay.manager.service;

import cn.com.anysdk.oss.api.IOssService;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface OssService {
    String switchProvider(Map<String, Object> config);

    IOssService getCurrentService();

    Map<String, Object> uploadFile(MultipartFile file, String path, boolean isPublic);

    Map<String,Object> deleteFile(String path);
}
